body {
  min-width: 320px;
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 15px;
  background-color: #f2f4f7;
}

a {
  text-decoration: none;
  color: #707070;
}

/* TIPS +约束当屏幕大小超过 750px 的时候，html 字体大小不再变化 */
@media screen and (min-width: 750px) {
  html {
    font-size: 37.5px !important;
  }
}

.wrapper {
  background-color: #ffffff;
  padding-bottom: 1.146667rem;
}

header {
  height: 2.133333rem;
  text-align: center;
  line-height: 2.133333rem;
  color: #1c1c1c;
  font-size: 0.933333rem;
  border-bottom: 1px solid #eaeaea;
}

nav {
  display: flex;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.6rem 0;
  a {
    width: 33.3%;
    display: flex;
    flex-direction: column; /* 纵向显示 */
    align-items: center; /* 水平居中 */
    img {
      height: 3.706667rem;
      width: 3.706667rem;
    }
    span {
      font-size: 0.666667rem;
      color: #707070;
      text-decoration: none;
    }
    /* TIPS 选择前 3 个元素 */
    &:nth-child(-n + 3) {
      margin-bottom: 1.653333rem;
    }
  }
}

.go {
  margin: 0 0.48rem 0 0.48rem;
}

.content {
  padding: 1.066667rem 0.64rem;
  background-color: #fff;
  margin-top: 0.266667rem;
  .content-head {
    height: 1.013333rem;
    display: flex;
    margin-bottom: 0.906667rem;
    line-height: 1.013333rem;
    justify-content: space-between;
    h4 {
      margin: 0;
      font-size: 0.746667rem;
      color: #333333;
      span {
        display: inline-block;
        width: 1.013333rem;
        height: 1.013333rem;
        vertical-align: top;
      }
    }
    a {
      font-size: 0.586667rem;
      color: #999999;
    }
  }
  .first-swiper {
    position: relative;
    .swiper-container {
      width: 14.4rem;
      height: 100%;
    }
    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-direction: column;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      transition: 300ms;
      transform: scale(0.8);
      opacity: 0.4;
      a {
        height: 10.026667rem;
        width: 9.013333rem;
        img {
          height: 100%;
          width: 100%;
        }
      }
      p {
        font-size: 0.666667rem;
        margin-top: 0.64rem;
        color: #333333;
        width: 9.013333rem;
      }
    }
    /* 激活状态的幻灯片/轮播图 */
    .swiper-slide-active,
    .swiper-slide-duplicate-active {
      transform: scale(1);
      z-index: 999;
      opacity: 1;
    }
  }
  .second-slide {
    .swiper-container {
      width: 100%;
      height: 10rem;
      padding: 0.266667rem;
    }

    .swiper-slide {
      font-size: 18px;
      background: #fff;
      height: 9.066667rem;
      width: 7.733333rem;
      border-radius: 0.266667rem;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      flex-direction: column;
      h5 {
        font-size: 0.693333rem;
        margin: 0.533333rem 0;
        font-weight: 400;
      }
      p {
        font-size: 0.693333rem;
        color: #ff4400;
      }
    }
  }
}

footer {
  width: 100%;
  height: 3.3rem;
  background-color: #fff;
  position: fixed;
  left: 0;
  display: flex;
  justify-content: space-around;
  bottom: 0;
  z-index: 999;
  padding: 5px;
  border-top: 1px solid #ccc;
  a {
    display: flex;
    flex-direction: column;
    align-items: center;
    img {
      width: 30px;
      height: 30px;
    }
    p {
      font-size: 18px;
      color: #ccc;
      margin-top: 3px;
    }
  }
}
